@version 0.1.0
@date 2015-03-22
@stability 2 - Unstable
Standard cryptographic algorithms –
Lite version of sha1, sha256, hmac, pbkdf2 writen in javascript.
How to use in browser
<script src=crypto-lite.js></script>
<script>
crypto.sha1("secret")
crypto.sha256("secret")
crypto.hmac("sha1", "key", "message")
crypto.hmac("sha256", "key", "message")
crypto.pbkdf2Sync("password", "salt", 1, 20)
</script>
How to use in node.js
Although it should work in node.js, you should use native api there.
npm install crypto-lite
var crypto = require("crypto-lite").crypto
External links
Licence
Copyright (c) 2014 Lauri Rooden <lauri@rooden.ee>
The MIT License